func customDiffDeploymentManagerDeployment(_ context.Context, d *schema.ResourceDiff, meta interface{}) error {
	if preview := d.Get("preview").(bool); preview {
		log.Printf("[WARN] Deployment preview set to true - Terraform will treat Deployment as recreate-only")

		if d.HasChange("preview") {
			if err := d.ForceNew("preview"); err != nil {
				return err
			}
		}

		if d.HasChange("target") {
			if err := d.ForceNew("target"); err != nil {
				return err
			}
		}

		if d.HasChange("labels") {
			if err := d.ForceNew("labels"); err != nil {
				return err
			}
		}
	}
	return nil
}
